package top.hzy520.common.constants;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Author: HouZeYu
 * @Description:
 * @Date: Created in 21:52 2018/5/13
 */
@Component
@Data
public class Parameter {
    /**********redis config start********/
    @Value("${redis.url}")
    private String redisHost;
    @Value("${redis.port}")
    private String redisPort;
    /**********redis config end********/

    /**********redis config start********/
    @Value("${zk.host}")
    private String zkHost;
    /**********redis config end********/
}
